/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.fee.entity.PayInvoiceDetail;

import java.util.List;

/**
 * 应收发票明细表MAPPER接口
 * @author weisong
 * @version 2017-09-19
 */
@MyBatisMapper
public interface PayInvoiceDetailMapper extends BaseMapper<PayInvoiceDetail> {
    // 关联应付发票明细表
    public List<PayInvoiceDetail> findPayInvoiceDetailById(String id);

    //回填应付账款的开票金额
    public List<PayInvoiceDetail> findPayInvoiceMoney(String id);

    //根据结算单id和发票id获取发票子表
    public PayInvoiceDetail findAllByPayableId(String ableId ,String invoiceId );
}